import request from "@/utils/_request"

/** 竞赛申请 */ 
export function addDeclare(data) {
    return request({
        url: '/admin/contest/active/add',
        method : 'post',
        data: data,
        headers: {'content-type': 'multipart/form-data'}
    })
}

/** 赛事列表 */
export function contestList() {
    return request({
        url: '/admin/competition/query/select',
        method: 'get',
    })
}